<div class="wrapper-md ng-scope">
 <div class="row" novalidate>


<div class="wrapper-md ng-scope">
 <div class="row" novalidate>

  <!--表结构 -->
  <div class="col-md-12">
    <div class="panel panel-info" >

             <div class="panel-heading font-bold">{{tishi}}{{cname}}{{frts}}{{fr}} {{dh}}{{frn}}{{kh}}</div>
                 <ul id="myTab" class="nav nav-tabs">
                     <li class="active"><a href="#home" data-toggle="tab">
                        检验信息</a>
                     </li>
                     <li><a href="#cre" data-toggle="tab">违期检验信息</a></li>
                 
                </ul>

            <div id="myTabContent" class="tab-content">
                  <div class="tab-pane fade in active" id="home">
                           <div class="row wrapper" >
                             
                                <div class="col-sm-4">
                                    <div class="input-group">
                                        <span class="input-group-addon" id="basic-addon1">风险点名称</span>
                                        <input type="text" class="form-control" ng-model="searchform.gename" aria-describedby="basic-addon1">
                                    </div>
                                </div>
                            
                                <div class="col-sm-2">
                                     <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="pageChanged()">搜索</button>

                                </div>
                                <div class="col-sm-1">
                                     <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="returnHome()">返回</button>
                                </div>
                          </div>
                      

                        <div class="panel-body">
                                  <table class="table table-striped table-bordered ng-isolate-scope dataTable no-footer" 
                                    style="display: table; width: 100%;table-layout:fixed;">
                                    <thead>
                                      <tr>                         
                                        <th style="width: 22%;text-align:center;vertical-align:middle">风险点名称</th>  
                                          <th style="width: 9%;text-align:center;vertical-align:middle">上次检<br>验日期</th>
                                          <th style="width: 9%;text-align:center;"vertical-align:middle>下次检<br>验日期</th>
                                            <th style="width: 8%;text-align:center;vertical-align:middle">检验<br>周期</th>
                                        <th style="width: 8%;text-align:center;vertical-align:middle">风险点<br>负责人</th>
                                         <th style="width: 10%;text-align:center;vertical-align:middle">负责人<br>电话</th>
                                          <th style="width: 9%;text-align:center;vertical-align:middle">已发短信<br>提醒次数</th>
                                         <!-- <th style="width: 12%;text-align:center;">下次短信提醒日期</th> -->
                                       
                       
                                        <th style="width: 17%;text-align:center;vertical-align:middle">检验状态</th>
                                         <th style="width: 8%;text-align:center;vertical-align:middle">操作</th>
                                      </tr>
                                    </thead>
                                    <tbody>
                                      <tr ng-repeat="obj in objlist">                
                                         <td style="text-align:center;vertical-align:middle">{{obj.gename}}</td>   
                                        <td style="text-align:center;vertical-align:middle">{{obj.geinspection_data}}</td>
                                        <td style="text-align:center;vertical-align:middle">{{obj.xjdate}}</td>
                                         <td style="text-align:center;vertical-align:middle">{{obj.gemaintenance_cycle}}天</td>   
                                         <td style="text-align:center;vertical-align:middle">{{obj.grpname}}</td>
                                          <td style="text-align:center;vertical-align:middle">{{obj.grpmobile}}</td>
                                          <td style="text-align:center;vertical-align:middle">{{obj.smscount}}次</td>
                                         <!--  <td >{{obj.smsnextdate}}</td>      -->        
                                          <td style="text-align:center;vertical-align:middle">
                                           <div style="color:blue">{{obj.bz}}</div>
                                           <div style="color:red">{{obj.bz1}}</div>
                                          </td>
                                              <td style="text-align:center;vertical-align:middle">
                                               <button class="btn btn-info btn-xs" ng-click="infor(obj)">详情</button>
                                                <button class="btn btn-danger btn-xs" ng-click="nopass(obj)" ng-show="show!='show'" >驳回</button>
                                              </td>

                                      </tr>
                                    </tbody>
                                 </table>
                         </div>
     
                        <div class="text-right" style="background-color: white">
                            <pagination 
                                total-items="totalItems" 
                                ng-model="currentPage" 

                                ng-change="pageChanged()"
                                previous-text="上一页"
                                next-text="下一页"
                                first-text="首页"
                                last-text="尾页"
                                max-size="5"
                                boundary-links="true"
                                rotate="false"

                                items-per-page="itemsPerPage"
                                class="m-t-none m-b"></pagination>
                      </div>
                </div>

                 <div class="tab-pane fade " id="cre">
                        <div class="row wrapper" >
                             
                                <div class="col-sm-4">
                                    <div class="input-group">
                                        <span class="input-group-addon" id="basic-addon1">风险点名称</span>
                                        <input type="text" class="form-control" ng-model="searchform1.gename1" aria-describedby="basic-addon1">
                                    </div>
                                </div>
                              
                                <div class="col-sm-2">
                                     <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="pageChanged1()">搜索</button>
                                </div>
                                 <div class="col-sm-1">
                                     <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="returnHome()">返回</button>
                                </div>
                          </div>
                      

                        <div class="panel-body">
                                  <table class="table table-striped table-bordered ng-isolate-scope dataTable no-footer" 
                                    style="display: table; width: 100%;table-layout:fixed;">
                                    <thead>
                                      <tr>                         
                                        <th style="width: 20%;text-align:center;vertical-align:middle">风险点名称</th>  
                                          <th style="width: 10%;text-align:center;vertical-align:middle">上次检<br>验日期</th>
                                          <th style="width: 10%;text-align:center;vertical-align:middle">下次应检<br>验日期</th>
                                           <th style="width: 10%;text-align:center;vertical-align:middle">实际检<br>验日期</th>
                                            <th style="width: 8%;text-align:center;vertical-align:middle">检验周期</th>
                                        <th style="width: 10%;text-align:center;vertical-align:middle">风险点<br>负责人</th>
                                         <th style="width: 10%;text-align:center;vertical-align:middle">负责人<br>电话</th>

                                      </tr>
                                    </thead>
                                    <tbody>
                                      <tr ng-repeat="obj in yanqilist">                
                                         <td style="text-align:center;vertical-align:middle">{{obj.gename}}</td>   
                                        <td style="text-align:center;vertical-align:middle">{{obj.ipt_sjdate}}</td>
                                        <td style="text-align:center;vertical-align:middle">{{obj.ipt_date}}</td>
                                          <td style="text-align:center;vertical-align:middle"> {{obj.ipt_shijidate}}</td>
                                         <td style="text-align:center;vertical-align:middle">{{obj.ipt_cycle}}天</td>   
                                         <td style="text-align:center;vertical-align:middle">{{obj.grpname}}</td>
                                        <td style="text-align:center;vertical-align:middle">{{obj.grpmobile}}</td>
                                      
                              
                                      </tr>
                                    </tbody>
                                 </table>
                         </div>
     
                        <div class="text-right" style="background-color: white">
                            <pagination 
                                total-items="totalItems1" 
                                ng-model="currentPage1" 

                                ng-change="pageChanged1()"
                                previous-text="上一页"
                                next-text="下一页"
                                first-text="首页"
                                last-text="尾页"
                                max-size="5"
                                boundary-links="true"
                                rotate="false"

                                items-per-page="itemsPerPage1"
                                class="m-t-none m-b"></pagination>
                      </div>
                 </div>
           </div>
       </div>
    </div>
</div>
</div>


